.city-data-panel {
  width: 100%;
  height: 100%;
  background: rgba(10, 38, 71, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.city-data-panel__header {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.city-data-panel__title {
  font-size: 18px;
  font-weight: bold;
  color: #00d4ff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.city-data-panel__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.city-data-panel__stat-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-color);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.city-data-panel__stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--card-color);
}

.city-data-panel__stat-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px var(--card-color));
}

.city-data-panel__stat-content {
  flex: 1;
}

.city-data-panel__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.city-data-panel__stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}

.city-data-panel__stat-unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 5px;
}

.city-data-panel__stat-trend {
  font-size: 12px;
  font-weight: bold;
}

.city-data-panel__stat-trend.up {
  color: #00ff88;
}

.city-data-panel__stat-trend.down {
  color: #ff6b6b;
}

.city-data-panel__systems {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.city-data-panel__subtitle {
  font-size: 14px;
  color: #00d4ff;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  flex-shrink: 0;
}

.city-data-panel__system-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.city-data-panel__system-list::-webkit-scrollbar {
  width: 4px;
}

.city-data-panel__system-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.city-data-panel__system-list::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 2px;
}

.city-data-panel__system-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
  padding: 12px;
}

.city-data-panel__system-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.city-data-panel__system-name {
  font-size: 13px;
  color: #fff;
}

.city-data-panel__system-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: bold;
}

.city-data-panel__system-status.normal {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.5);
}

.city-data-panel__system-status.good {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.5);
}

.city-data-panel__system-progress {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.city-data-panel__system-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff 0%, #00ff88 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.city-data-panel__system-rate {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #fff;
  font-weight: bold;
}
